.heatmap-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.heatmap-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(var(--grid-cols, 10), minmax(0, 1fr));
    gap: var(--grid-gap, 0.0625em);
}

.square-cell {
    aspect-ratio: 1/1;
    transition: all 200ms ease;
    transition-delay: 5s;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.square-cell:hover,
.square-cell:focus {
    transform: scale(1.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    outline: none;
    transition-delay: 0s;
}

.color-preview {
    width: 1.5em;
    height: 1.5em;
    border-radius: 0.25em;
}

/* 交互效果已禁用 */

/* 选中状态 */
.square-cell.ring-2 {
    box-shadow: 0 0 0 0.125em #3b82f6;
}